@import './common.scss';
@import './add.scss';

/*头部*/

.cooperate-header {
    height: 60px;
    line-height: 60px;
    padding: 0 40px;
    background-image: url(../images/index/TOP-bj.svg);
    background-repeat: no-repeat;
    background-size: cover;
    // padding: 0 60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
    img {
        margin: auto;
    }
    ul {
        li {
            padding: 0 20px;
            float: left;
            font-size: 16px;
            color: #FFFFFF;
            cursor: pointer;
        }
        li:hover {
            background: #5DA6FD;
        }
    }
    .header-input {
        width: 266px;
        height: 32px;
        line-height: 32px;
        display: inline-block;
        input {
            width: 100%;
            height: 100%;
            background: #3964E9;
            border-radius: 20px;
            border: none;
            padding: 0 10px 0 10px;
            color: #FFFFFF;
            box-sizing: border-box;
        }
        input::-webkit-input-placeholder {
            font-size: 14px;
            color: #CEE4FF;
        }
        .search-icon {
            position: absolute;
            top: 8px;
            right: 8px;
        }
    }
    .icon-message {
        position: relative;
    }
    .icon-message:before {
        position: absolute;
        top: 13px;
        right: -14px;
        content: '10';
        width: 20px;
        height: 16px;
        text-align: center;
        line-height: 16px;
        color: #FFFFFF;
        font-size: 12px;
        background: #F2534D;
        border-radius: 4px;
    }
    .header-user {
        font-size: 14px;
        color: #FFFFFF;
        img {
            float: left;
            margin-top: 18px;
            margin-right: 10px;
        }
    }
}


/*首页*/

.index-banner {
    height: 350px;
    background-color: #254479;
    background-image: url(../images/index/1.png);
    background-repeat: no-repeat;
    background-position-x: right;
    padding: 87px 84px;
    box-sizing: border-box;
    text-align: left;
    h1 {
        font-size: 36px;
        color: #FFFFFF;
    }
    p {
        font-size: 16px;
        color: #FFFFFF;
        letter-spacing: 0.5px;
        line-height: 26px;
        margin-top: 30px;
    }
}

.index-part {
    padding: 40px 63px;
    background-image: linear-gradient(180deg, #FFFFFF 0%, #F6F9FE 100%);
    .col-9 {
        box-sizing: border-box;
    }
    .col-3 {
        box-sizing: border-box;
    }
    .part-title {
        height: 40px;
        line-height: 40px;
        h2 {
            display: inline-block;
            font-size: 20px;
            color: #181D2B;
            float: left;
            position: relative;
            span {
                display: inline-block;
                padding: 0 5px 0 7px;
                height: 18px;
                line-height: 18px;
                font-size: 12px;
                color: #FCFDFE;
                background: url(../images/index/icon-99.png);
                background-size: 100% 100%;
                position: absolute;
                top: 12px;
                right: -40px;
            }
        }
        a {
            font-size: 14px;
            color: #8B8F9B;
            float: right;
        }
    }
    .part-content {
        .content-message {
            text-align: left;
            p {
                font-size: 14px;
                color: #8B8F9B;
                line-height: 20px;
                a {
                    color: #3490FD;
                }
            }
            .message-button {
                button {
                    width: 104px;
                    height: 30px;
                    line-height: 30px;
                    text-align: center;
                    background: #FFFFFF;
                    border: 1px solid #DCE2F1;
                    border-radius: 4px;
                    margin-top: 15px;
                    color: #000000;
                    cursor: pointer;
                }
                button:hover {
                    background: #3490FD;
                    color: #FFFFFF;
                }
                button.active {
                    background: #3490FD;
                    border: none;
                    color: #FFFFFF;
                    position: relative;
                }
                button.active::before {
                    content: '';
                    position: absolute;
                    right: 8px;
                    top: 12px;
                    width: 10px;
                    height: 8px;
                    background: url(../images/index/icon-OK.svg) no-repeat;
                }
            }
        }
        .content-list1 {
            text-align: left;
            ul {
                li {
                    box-sizing: border-box;
                    width: 100%;
                    height: 50px;
                    line-height: 50px;
                    background: #FFFFFF;
                    padding: 0 20px 0 30px;
                    margin-bottom: 15px;
                    position: relative;
                    cursor: pointer;
                    label {
                        opacity: 0.7;
                        font-family: YouSheBiaoTiHei;
                        font-size: 16px;
                        color: #8B8F9B;
                        font-weight: bold;
                        font-style: italic;
                    }
                    span {
                        font-size: 14px;
                        color: #181D2B;
                        margin-left: 30px;
                    }
                    .message-state {
                        background: rgba(239, 169, 81, 0.1);
                        border-radius: 15px;
                        height: 30px;
                        padding: 0 15px;
                        line-height: 30px;
                        font-size: 14px;
                        color: #E68102;
                        float: right;
                        margin-top: 11px;
                    }
                    .message-state.active {
                        background: rgba(136, 136, 136, 0.1);
                        color: #8B8F9B;
                    }
                }
                li:before {
                    content: '';
                    width: 3.5px;
                    height: 50px;
                    background: #E68102;
                    position: absolute;
                    top: 0;
                    left: -2px;
                    border-right: 2px;
                }
                li.active:before {
                    background: #888888;
                }
                li:hover {
                    box-shadow: 0 3px 5px rgba($color: #000000, $alpha: 0.05);
                }
            }
        }
        .content-list2 {
            li {
                cursor: pointer;
                p {
                    display: inline-block;
                    font-size: 14px;
                    color: #181D2B;
                    line-height: 36px;
                }
                span {
                    font-size: 14px;
                    color: #8B8F9B;
                    text-align: right;
                    line-height: 36px;
                    float: right;
                }
            }
            li.active {
                p {
                    color: #8B8F9B !important;
                }
            }
            li:hover {
                p {
                    color: #3490FD;
                }
            }
        }
        .content-list3 {
            img {
                text-align: center;
                width: 120px;
                transition: all 0.6s;
            }
            img:hover {
                width: 125px;
                transform: scale(1);
            }
            h2 {
                font-size: 18px;
                color: #181D2B;
                margin-top: 5px;
            }
            p {
                font-size: 14px;
                color: #8B8F9B;
                letter-spacing: 0;
                line-height: 24px;
                margin-top: 10px;
            }
        }
    }
}

.index-searvice {
    width: 40px;
    height: 120px;
    position: fixed;
    top: 400px;
    right: 0;
    box-shadow: -4px 2px 6px 0 rgba(209, 209, 209, 0.63);
    border-radius: 4px 0 0 4px;
    text-align: center;
    padding: 8px;
    background: #FFFFFF;
    box-sizing: border-box;
    z-index: 99;
    background-image: url(../images/index/icon-searvice.svg);
    background-position: 50% 8%;
    background-repeat: no-repeat;
    p {
        font-size: 14px;
        color: #181D2B;
        letter-spacing: 3px;
        line-height: 23px;
        word-wrap: break-word !important;
        writing-mode: vertical-lr;
        /*从左向右 从右向左是 writing-mode: vertical-rl;*/
        writing-mode: tb-lr;
        /*IE浏览器的从左向右 从右向左是 writing-mode: tb-rl；*/
    }
    .index-searvice:hover {
        background: #3490FD !important;
    }
}

.el-popover {
    // background: #FFFFFF;
    border-radius: 6px;
    padding: 0 !important;
    .title {
        width: 100%;
        box-sizing: border-box;
        background-image: linear-gradient(-46deg, #556BFF 0%, #0174FD 91%);
        background-size: cover;
        border-radius: 6px 6px 0 0;
        height: 38px;
        line-height: 38px;
        padding: 0 16px;
        span {
            font-size: 14px;
            color: #FFFFFF;
            float: left;
        }
        img {
            width: 10px;
            float: right;
            margin-top: 13px;
        }
    }
    .content {
        text-align: center;
        box-sizing: border-box;
        textarea {
            box-sizing: border-box;
            border: none;
            width: 100%;
            height: 180px;
            background: #FFFFFF;
            padding: 16px 24px;
        }
        button {
            width: 88px;
            height: 32px;
            color: #FFFFFF;
            background: #3490FD;
            border-radius: 4px;
            border: none;
            margin-bottom: 24px;
        }
    }
}

.index-searvice:hover {
    background: #3490FD !important;
    background-image: url(../images/index/service-click.svg) !important;
    background-position: 50% 8% !important;
    background-repeat: no-repeat !important;
    p {
        color: #FFFFFF;
    }
}


/*合作伙伴管理*/

.common-table {
    width: 100%;
    box-sizing: border-box;
    // word-break: keep-all;
    white-space: nowrap;
    thead tr {
        text-align: left;
        background: #F2F8FF;
        border: 1px solid #DCE2F1;
        th {
            padding: 0 16px;
            box-sizing: border-box;
            font-size: 14px;
            color: #3280FC;
            text-align: center;
            background: #F2F8FF;
            height: 30px;
            line-height: 30px;
        }
    }
    tbody {
        tr {
            text-align: left;
            td {
                box-sizing: border-box;
                padding: 0 16px;
                font-size: 14px;
                color: #181D2B;
                text-align: center;
                height: 30px;
                line-height: 30px;
            }
        }
        tr:nth-child(2n) {
            background: #F6F7FC;
        }
    }
    .el-button {
        background: #FFFFFF;
        border: 1px solid #3490FD;
        border-radius: 6px;
        height: 26px;
        line-height: 26px;
        font-size: 14px;
        color: #3490FD;
        padding: 0 8px;
    }
    .el-button:hover {
        opacity: 0.7;
    }
}

.table-alert-top {
    height: 38px;
    line-height: 38px;
    text-align: left;
    background-image: linear-gradient(-46deg, #556BFF 0%, #0174FD 91%);
    border-radius: 6px 6px 0 0;
    padding: 0 16px;
    box-sizing: border-box;
    font-size: 14px;
    color: #FFFFFF;
    img {
        float: right;
        margin-top: 16px;
    }
}

.table-alert-content {
    height: 250px;
    text-align: center;
    textarea {
        border: none;
        height: 200px;
    }
    .el-button {
        height: 32px;
        line-height: 32px;
        padding: 0 16px;
        font-size: 14px;
        color: #FFFFFF;
        background: #3490FD;
        border-radius: 4px;
    }
}

.partner-title {
    // padding: 24px;
    img {
        width: 128px;
    }
    p {
        font-size: 20px;
        color: #181D2B;
        line-height: 40px;
    }
    label {
        font-size: 14px;
        color: #8B8F9B;
    }
    span {
        font-size: 14px;
        color: #181D2B;
        margin-left: 8px;
    }
    .blue-box {
        display: inline-block;
        padding: 8px 16px;
        background: #F2F8FF;
        border-radius: 6px;
        font-size: 14px;
        color: #181D2B;
        margin-right: 16px;
        margin-top: 8px;
        span {
            color: 3490FD;
        }
    }
}

.msg-part {
    .msg-title {
        font-size: 16px;
        color: #181D2B;
        font-weight: bold;
        margin-left: 10px;
        position: relative;
    }
    .msg-title::before {
        content: '';
        width: 3px;
        height: 16px;
        position: absolute;
        top: 2px;
        left: -10px;
        background: #3490FD;
    }
    table {
        width: 100%;
        tr {
            height: 40px;
            line-height: 40px;
        }
        td {
            text-align: left;
            padding: 0 17px;
            border: 1px solid #DCE2F1;
            font-size: 14px;
            color: #181D2B;
            word-break: break-all;
        }
        tr td:first-child,
        tr td:nth-child(3) {
            background: #F2F8FF;
            font-size: 14px;
            color: #2460A7;
            text-align: left;
            width: 20% !important;
        }
        tr td:nth-child(2),tr td:nth-child(4) {
            width: 40%;
        }
    }
}

.flowsheet {
    .col-4 {
        text-align: right;
        box-sizing: border-box;
        padding-right: 16px;
        position: relative;
        padding-top: 5px;
        p {
            font-size: 14px;
            color: #181D2B;
            text-align: right;
            line-height: 16px;
        }
        span {
            font-size: 12px;
            color: #878787;
            text-align: right;
            line-height: 16px;
        }
    }
    .col-4::before {
        content: '';
        position: absolute;
        top: 6px;
        right: -8px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 2px solid #DCE2F1;
        // z-index: 999;
        background: #DCE2F1;
    }
    .col-4.active::before {
        border: 2px solid #26dc48 !important;
        background: #FFFFFF;
    }
    .col-8 {
        padding-left: 16px;
        box-sizing: border-box;
        border-left: 2px dashed #DCE2F1;
        margin-top: 2px;
        padding-bottom: 20px;
        h4 {
            font-size: 16px;
            color: #181D2B;
            line-height: 20px;
        }
        p {
            font-size: 12px;
            color: #181D2B;
        }
    }
    .col-8.active {
        border-left: 2px dashed #26dc48 !important;
    }
}



/*需求管理*/

.manage-list {
    .col-8 {
        p {
            font-size: 16px;
            color: #181D2B;
            margin-bottom: 8px;
            span.blue {
                display: inline-block;
                height: 22px;
                line-height: 22px;
                padding: 0 8px;
                color: #FFFFFF;
                font-size: 12px;
                background: #3490FD;
                border-radius: 4px;
            }
            span.yellow {
                display: inline-block;
                height: 22px;
                line-height: 22px;
                padding: 0 8px;
                color: #FFFFFF;
                font-size: 12px;
                background: #E68102;
                border-radius: 4px;
            }
            span.pink {
                display: inline-block;
                height: 22px;
                line-height: 22px;
                padding: 0 8px;
                color: #FFFFFF;
                font-size: 12px;
                background: #C89CF7;
                border-radius: 4px;
            }
        }
        img {
            margin-right: 5px;
        }
        span {
            font-size: 14px;
            color: #676767;
            margin-right: 20px;
        }
    }
    .col-4 {
        p {
            font-size: 12px;
            color: #8B8F9B;
        }
        .el-button {
            background: #F2F8FF;
            border: 1px solid #3490FD;
            border-radius: 4px;
            font-size: 14px;
            color: #3490FD;
            height: 32px;
            line-height: 32px;
            padding: 0 16px;
            margin-left: 16px;
            cursor: pointer;
        }
        .el-button:hover {
            background: #1890FF;
            color: #fff;
        }
        .manage-btn {
            border: none;
            color: #FFFFFF;
            background: #E68102;
            box-shadow: 0 5px 12px 0 #FFDEB4;
        }
        .manage-btn:hover {
            opacity: 0.8;
            background: #E68102;
        }
        .manage-btn1 {
            border: none;
            color: #8B8F9B;
            background: #F6F7FC;
        }
    }
}


/*需求发布审核*/

.check-list {
    width: 220px;
    float: left;
    ul {
        padding: 0 8px;
        margin-top: 16px;
        li {
            cursor: pointer;
            padding: 16px;
            border-bottom: 1px solid #DCE2F1;
            p {
                font-size: 14px;
                color: #181D2B;
            }
            span {
                font-size: 12px;
                color: #8B8F9B;
                line-height: 35px;
            }
        }
        li.active {
            background: #FFFFFF !important;
            border-left: 3px solid #3490FD;
            p {
                color: #3490FD;
            }
        }
    }
}

.check-content {
    padding-left: 212px;
    padding-right: 8px;
    // padding: 24px;
    h2 {
        font-size: 20px;
        color: #181D2B;
    }
    p {
        img {
            width: 12px;
            float: left;
            margin-top: 11px;
            margin-right: 5px;
        }
        span {
            float: left;
            font-size: 12px;
            color: #8B8F9B;
            margin-right: 25px;
        }
    }
    label {
        // float: left;
        display: inline-block;
        // width: 85px;
        font-size: 14px;
        color: #8B8F9B;
        text-align: right;
        line-height: 32px;
    }
    span {
        font-size: 14px;
        color: #181D2B;
        line-height: 32px;
    }
    .explain {
        padding: 30px 40px;
        p {
            font-size: 16px;
            color: #000000;
            line-height: 26px;
            margin-bottom: 30px;
        }
    }
    .btn-list {
        .el-button {
            height: 42px;
            line-height: 42px;
            padding: 0 32px;
            background: #FFFFFF;
            border: none;
            span {
                color: #FFFFFF;
            }
        }
        .el-button:first-child {
            border: 1px solid #C6C6C6;
            span {
                color: #000;
            }
        }
        .el-button:hover {
            opacity: 0.8;
        }
    }
}

.flowsheet1 {
    margin-top: 20px;
    .col-5 {
        position: relative;
        text-align: right;
        padding-right: 20px;
        box-sizing: border-box;
        p {
            display: inline-block;
            font-size: 14px;
            color: #000000;
            text-align: center;
            line-height: 16px;
            margin-right: 6px;
        }
    }
    .col-6 {
        border-left: 2px dashed #26dc48;
        box-sizing: border-box;
        padding-left: 20px;
        padding-bottom: 20px;
        p {
            font-size: 14px;
            color: #000000;
        }
        p:nth-child(2) {
            font-size: 12px;
            color: #666666;
        }
        span {
            font-size: 14px;
            line-height: 10px;
            margin-top: 3px;
        }
    }
    .col-5::before {
        content: '';
        width: 10px;
        height: 10px;
        border: 2px solid #26dc48;
        border-radius: 50%;
        position: absolute;
        top: 10px;
        right: 0;
        top: 1px;
        right: -8px;
        background: #FFFFFF;
        z-index: 997;
    }
    .col-5.orange::before {
        border: 2px solid #E68102;
    }
}

.power-tab {
    padding: 16px;
    box-sizing: border-box;
    img {
        width: 24px;
        margin-right: 8px;
        float: left;
    }
    h4 {
        font-size: 16px;
        color: #181D2B;
        font-weight: bold;
        display: inline-block;
        line-height: 24px;
    }
}
.page-tag-red{
    color: #fff;
    display: inline-block;
    line-height: 16px;
    padding: 0 5px;
    background: red;
    font-size: 12px;
    position: absolute;
    right: 12px;
    top: 0px;
    border-radius: 3px;
}

    